package cn.edu.sdjzu.xg.eagle.xg23_kcsj_01.service;


import cn.edu.sdjzu.xg.eagle.xg23_kcsj_01.entity.Subject;
import cn.edu.sdjzu.xg.eagle.xg23_kcsj_01.mapper.SubjectMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SubjectServiceImpl {
    @Autowired
    SubjectMapper subjectMapper;

    public List<Subject> getAllSubjects() {
        return subjectMapper.getAllSubjects();
    }
}
